package com.hutu.controller.biz.admin.system;

import com.hutu.core.constant.SelectConstant;
import com.hutu.model.resp.Response;
import com.hutu.model.resp.ResponseVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@Api(tags = "通用数据接口")
@RequestMapping("/admin/common")
public class CommonController {

    @ApiOperation("下拉选数据")
    @GetMapping(value = "/select")
    public ResponseVo select(){
        return Response.success(SelectConstant.selectMap);
    }
}
